package zero.tech.games.user.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import zero.tech.core.data.Resp;
import zero.tech.games.user.data.req.ReqUserLogin;
import zero.tech.games.user.service.api.IUserService;

@RestController
public class HttpController extends BaseController{
	@Autowired
	private IUserService userService;
	@RequestMapping("/user-login")
	public Resp userLogin(@RequestBody(required = true)ReqUserLogin reqUserLogin) {
		return userService.userLogin(reqUserLogin);
	}
}
